package pojo.user;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

/**
 * @author Limohan
 */
public class UserProperty {
    private final StringProperty id = new SimpleStringProperty();
    private final StringProperty name = new SimpleStringProperty();
    private final StringProperty account = new SimpleStringProperty();
    private final StringProperty phone = new SimpleStringProperty();
    private final StringProperty power = new SimpleStringProperty();
    private final StringProperty factoryName = new SimpleStringProperty();
    private final StringProperty detail = new SimpleStringProperty();
    private final StringProperty state = new SimpleStringProperty();

    public UserProperty(){}

    public String getFactoryName() {
        return factoryName.get();
    }

    public StringProperty factoryNameProperty() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName.set(factoryName);
    }

    public String getDetail() {
        return detail.get();
    }

    public StringProperty detailProperty() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail.set(detail);
    }

    public String getState() {
        return state.get();
    }

    public StringProperty stateProperty() {
        return state;
    }

    public void setState(String state) {
        this.state.set(state);
    }

    public String getPhone() {
        return phone.get();
    }

    public StringProperty phoneProperty() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone.set(phone);
    }

    public String getId() {
        return id.get();
    }

    public StringProperty idProperty() {
        return id;
    }

    public void setId(String id) {
        this.id.set(id);
    }

    public String getName() {
        return name.get();
    }

    public StringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getAccount() {
        return account.get();
    }

    public StringProperty accountProperty() {
        return account;
    }

    public void setAccount(String account) {
        this.account.set(account);
    }

    public String getPower() {
        return power.get();
    }

    public StringProperty powerProperty() {
        return power;
    }

    public void setPower(String power) {
        this.power.set(power);
    }
}
